package com.bsoft.gol.hcs.satisfaction.entity;


import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "team_survey_record")
public class TeamSurveyRecord {
    private String teamSurveyRecordId;
    private String patientSurveyId;
    private String patientSurveyName;
    private String questionnaireId;
    private String questionnaireName;
    private String titleId;
    private String titleName;
    private String answerId;
    private String answerName;
    private long medicalTeamId;
    private String medicalTeamName;
    private String creatorId;
    private Date gmtCreate;
    private String modifyId;
    private Date gmtModified;

    @Id
    @Column(name = "team_survey_record_id", nullable = false, length = 64)
    public String getTeamSurveyRecordId() {
        return teamSurveyRecordId;
    }

    public void setTeamSurveyRecordId(String teamSurveyRecordId) {
        this.teamSurveyRecordId = teamSurveyRecordId;
    }

    @Basic
    @Column(name = "patient_survey_id", nullable = false, length = 64)
    public String getPatientSurveyId() {
        return patientSurveyId;
    }

    public void setPatientSurveyId(String patientSurveyId) {
        this.patientSurveyId = patientSurveyId;
    }

    @Basic
    @Column(name = "patient_survey_name", nullable = false, length = 64)
    public String getPatientSurveyName() {
        return patientSurveyName;
    }

    public void setPatientSurveyName(String patientSurveyName) {
        this.patientSurveyName = patientSurveyName;
    }

    @Basic
    @Column(name = "questionnaire_id", nullable = true, length = 64)
    public String getQuestionnaireId() {
        return questionnaireId;
    }

    public void setQuestionnaireId(String questionnaireId) {
        this.questionnaireId = questionnaireId;
    }

    @Basic
    @Column(name = "questionnaire_name", nullable = true, length = 64)
    public String getQuestionnaireName() {
        return questionnaireName;
    }

    public void setQuestionnaireName(String questionnaireName) {
        this.questionnaireName = questionnaireName;
    }

    @Basic
    @Column(name = "title_id", nullable = true, length = 64)
    public String getTitleId() {
        return titleId;
    }

    public void setTitleId(String titleId) {
        this.titleId = titleId;
    }

    @Basic
    @Column(name = "title_name")
    public String getTitleName() {
        return titleName;
    }

    public void setTitleName(String titleName) {
        this.titleName = titleName;
    }

    @Basic
    @Column(name = "answer_id", nullable = true, length = 64)
    public String getAnswerId() {
        return answerId;
    }

    public void setAnswerId(String answerId) {
        this.answerId = answerId;
    }

    @Basic
    @Column(name = "answer_name")
    public String getAnswerName() {
        return answerName;
    }

    public void setAnswerName(String answerName) {
        this.answerName = answerName;
    }

    @Basic
    @Column(name = "medical_team_id", nullable = true)
    public long getMedicalTeamId() {
        return medicalTeamId;
    }

    public void setMedicalTeamId(long medicalTeamId) {
        this.medicalTeamId = medicalTeamId;
    }

    @Basic
    @Column(name = "medical_team_name", nullable = true, length = 64)
    public String getMedicalTeamName() {
        return medicalTeamName;
    }

    public void setMedicalTeamName(String medicalTeamName) {
        this.medicalTeamName = medicalTeamName;
    }


    @Basic
    @Column(name = "creator_id", nullable = true, length = 36)
    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    @Basic
    @Column(name = "gmt_create", nullable = true)
    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    @Basic
    @Column(name = "modify_id", nullable = true, length = 36)
    public String getModifyId() {
        return modifyId;
    }

    public void setModifyId(String modifyId) {
        this.modifyId = modifyId;
    }

    @Basic
    @Column(name = "gmt_modified", nullable = true)
    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}